Skip to content

Conversation

@twada
Copy link
Contributor

@twada twada commented Jan 10, 2016

This PR updates empower-core to 0.4.0 and babel-plugin-espower to 2.1.0 to make t._capt and t._expr unnecessary.

babel-plugin-espower 2.1.0 embeds value capturing helper (_capt and _expr) into transpiled code. Therefore, copying t._capt and t._expr is not required any more. In addition, babel-plugin-espower 2.1.0 is refactored a lot to reduce dependencies. This will speed-up installation time a little.

empower-core 0.4.0 stop adding _capt and _expr methods into assertion object.

refs:

…._expr` unnecessary

- babel-plugin-espower 2.1.0 embeds value capturing helper (`_capt` and `_expr`) into transpiled code. Therefore, copying `t._capt` and `t._expr` is not required any more
- In addition, babel-plugin-espower 2.1.0 is refactored a lot to reduce dependencies
- empower-core 0.4.0 stop adding `_capt` and `_expr` methods into assertion object

refs: #302 (comment)
refs: power-assert-js/babel-plugin-espower#11
refs: twada/empower-core#3
@sindresorhus
Copy link
Member

Yay! LGTM :)

@jamestalmage
Copy link
Contributor

Awesome!

jamestalmage added a commit that referenced this pull request Jan 10, 2016
update empower-core and babel-plugin-espower to make `t._capt` and `t._expr` unnecessary
@jamestalmage jamestalmage merged commit 8e0a6e9 into avajs:master Jan 10, 2016
@twada twada deleted the remove-capt-expr branch January 11, 2016 02:47
@twada
Copy link
Contributor Author

twada commented Jan 11, 2016

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants